//
//  StatusToolBar.swift
//  VVbo
//
//  Created by Mr.Run on 2017/8/29.
//  Copyright © 2017年 Mr.Run. All rights reserved.
//

import UIKit

class StatusToolBar: UIView {
    
    var viewModel: StatusViewModel? {
        didSet{
//            retweetedButton.setTitle("\(String(describing: viewModel?.status.reposts_count))", for: [])
//            commentButton.setTitle("\(String(describing: viewModel?.status.comments_count))", for: [])
//            likeButton.setTitle("\(viewModel?.status.attitudes_count ?? 0)", for: [])
            retweetedButton.setTitle(viewModel?.retweetStr, for: [])
            commentButton.setTitle(viewModel?.commentStr, for: [])
            likeButton.setTitle(viewModel?.likeStr, for: [])
        }
    }
    
    @IBOutlet weak var retweetedButton: UIButton!
    @IBOutlet weak var commentButton: UIButton!
    @IBOutlet weak var likeButton: UIButton!
    
    
    
}
